package com.flyapi.core.constant;

/**
 * author: flyhero
 * Date: 2017/5/31 0031 上午 11:04
 */
public class Constant {
    /**
     * 请求出错
     */
    public static final boolean SUCCESS_T = true;
    public static final boolean SUCCESS_F= false;
    public static final String MSG_ERROR="error";
    /**
     * 请求成功
     */
    public static final String MSG_OK="ok";
    /**
     * 返回正常
     */
    public static final int CODE_200=200;

    public static final int CODE_500=500;

    public static final int CODE_404=404;


    public static final String TYPE_INSERT="INSERT";
    public static final String TYPE_UPDATE="UPDATE";
    public static final String TYPE_DELETE="DELETE";
    public static final String TYPE_SELECT="SELECT";

    public static final String CLASS_PROJECT="project";
    public static final String CLASS_MODULE="module";
    public static final String CLASS_INTERFACE="interface";
    public static final String CLASS_TEAM="team";
    public static final String CLASS_DATABASE="database";

    public static final String NAME_PROJECT="项目";
    public static final String NAME_MODULE="模块";
    public static final String NAME_INTERFACE="接口";
    public static final String NAME_TEAM="成员";
    public static final String NAME_DATABASE="数据库";

    /**
     * 定时任务运行状态
     */
    public static final String STATUS_RUNNING = "1";
    public static final String STATUS_NOT_RUNNING = "0";

    public static final String FILE_BASE_PATH = "http://file.iflyapi.cn";
}
